package com.eimf.saf.security.entity;

import java.io.Serializable;

import com.eimf.saf.common.commons.annotation.I18nAnnotation;
import com.eimf.saf.common.commons.i18n.Ii18n;

/**
 * @author eden
 * @date 2013-12-27 下午2:39:52
 * @Description: 资源操作实体
 */
public class ResourceOperation extends Ii18n implements Serializable
{
    private static final long serialVersionUID = 1L;

    private Long resourceId;

    private String operationKey;

    @I18nAnnotation
    private String operationName;

    private String preKey;

    private int orderKey;

    /**
     * resourceId
     * 
     * @return the resourceId
     * @since 1.0.0
     */

    public Long getResourceId()
    {
        return resourceId;
    }

    /**
     * @param resourceId the resourceId to set
     */
    public void setResourceId(final Long resourceId)
    {
        this.resourceId = resourceId;
    }

    /**
     * operationKey
     * 
     * @return the operationKey
     * @since 1.0.0
     */

    public String getOperationKey()
    {
        return operationKey;
    }

    /**
     * @param operationKey the operationKey to set
     */
    public void setOperationKey(final String operationKey)
    {
        this.operationKey = operationKey;
    }

    /**
     * operationName
     * 
     * @return the operationName
     * @since 1.0.0
     */

    public String getOperationName()
    {
        return operationName;
    }

    /**
     * @param operationName the operationName to set
     */
    public void setOperationName(final String operationName)
    {
        this.operationName = operationName;
    }

    /**
     * preKey
     * 
     * @return the preKey
     * @since 1.0.0
     */

    public String getPreKey()
    {
        return preKey;
    }

    /**
     * @param preKey the preKey to set
     */
    public void setPreKey(final String preKey)
    {
        this.preKey = preKey;
    }

    /**
     * orderKey
     * 
     * @return the orderKey
     * @since 1.0.0
     */

    public int getOrderKey()
    {
        return orderKey;
    }

    /**
     * @param orderKey the orderKey to set
     */
    public void setOrderKey(final int orderKey)
    {
        this.orderKey = orderKey;
    }

}
